import axios from '@/libs/api.request.js'

export default {
    getArticles: (params = {}) => {
        return axios.request({
            url: '/api/article/getArticles',
            params
        })
    },
    search: (params = {}) => {
        return axios.request({
            url: '/api/article/search',
            params
        })
    }
}